﻿using System;
using System.ComponentModel;

namespace WpfApp1.ViewModel
{
    class MainViewModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        private string loginfo;
        private string version;
        private string usage;

        public string Loginfo { get { return loginfo; } set { loginfo = value; NotifyPropertyChanged("Loginfo"); } }

        public string Version { get => version; set => version = value; }
        public string Usage { get => usage; set => usage = value; }

        protected void NotifyPropertyChanged(String info)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(info));
        }

    }
}
